<?php namespace App\Http\Requests;

use App\Http\Requests\Request;
use Illuminate\Http\Request as HttpRequest;

class AreaRequest extends Request {

	/**
	 * Determine if the user is authorized to make this request.
	 *
	 * @return bool
	 */
	public function authorize()
	{
		return true;
	}

    public function rules()
    {
        return [
            'name' => 'required',
        ];
    }


    public function messages()
    {
        return [
            'name.required' => '请填写名称',
        ];
    }

}
